home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5530 < prev    next >
Encoding:
Text File  |  1996-08-05  |  9.1 KB  |  174 lines

  1. Path: uu4news.netcom.com!genesplicer!209-254-8!joey.mcdonald
  2. From: Joey.McDonald@209-254-8.genesplicer.org (Joey McDonald)
  3. Date: 15 Mar 96 10:49:09 
  4. Newsgroups: comp.sys.amiga.programmer
  5. Subject: DCTVpost 2/5
  6. Message-ID: <3e1_9603160006@genesplicer.org>
  7. Organization: The GeneSplicer
  8.  
  9. Chapter1:
  10.                        BREAKTHROUGH DCTV DISPLAY MODE!
  11.  
  12.                               By Joey McDonald
  13.                               ⌐ copyright 1996
  14.  
  15.  
  16.  
  17. Roughly 5 years after its introduction DCTV remains a popular Amiga display
  18. board and a viable alternative to 24-bit display devices. Portability,
  19. compatibility with all Amiga systems and the ability to play high speed million
  20. color animations are just a few of the features that have contributed to ts
  21. long lasting popularity. Within the last 5 years there have been many other
  22. improvements in Amiga display technology. The introduction of AGA chips and
  23. 24-bit display devices offering "programmable" resolutions may have left many
  24. DCTV owners feeling a bit limited by there rather sparse selection f display
  25. mode options. In an attempt to add more variety (and excitement) to the
  26. Amiga/DCTV display arsenal, this article will introduce a NEW DCTV display mode
  27. that will allow faster animations and greatly reduce file sizes. Dust off your
  28. DCTV and get ready to Rock'n Roll!
  29.  
  30.  
  31. DCTV constructs its composite video output from special screen data contained
  32. in an Amiga hi-res, 3 or 4 bitplane display. The 4-bit mode delivers the
  33. highest possible display quality, while the 3-bit mode sacrifices a small
  34. amount of image detail to produce smaller file sizes and animations that ply at
  35. a higher frame rate. Since there are no software options for a 1 or 2 bitplane
  36. display mode you may have assumed that DCTV requires at least an Amiga
  37. 3-bitplane display to function properly. You're in for a pleasant surprise. I
  38. have discovered that DCTV is quite capable of functioning in an Amia 2-bit mode
  39. while retaining most of its composite color palette and display quality. Since
  40. the 2-bit mode is not supported in any way by the software, it's currently
  41. impossible to directly create a 2-bit DCTV image. To demonstrate the potential
  42. of the 2-bit mode we will need to use a separate progrm to convert a previously
  43. created image. What follows is an explanation of the conversion process in the
  44. form of a mini-tutorial.
  45.  
  46. For this exercise you'll need DCTV disk#3 (included with DCTV) and the image
  47. processor Pixmate. I have not found another image processor capable of
  48. generating the required results. It's pointless to use a program that first
  49. converts an image into 24-bits (ADPro, ImageMaster) since DCTV only needs upto
  50. 4-bits to comprise an image. It's also important to note that the Pixmate
  51. program has been discontinued. All descriptions of screens and controls are
  52. representative of version 1.1.
  53.  
  54. Before we begin make sure your DCTV is connected, we'll want to view how our
  55. actions within Pixmate effect the composite image. When a Pixmate control
  56. window opens on the image it may distort or block the composite display.
  57. Holding the right mouse button down will temporarily remove the window allowng
  58. you to view your progress. A two monitor set-up is ideal, but a single monitor
  59. with RGB switching (such as the 1084s) will suffice.
  60.  
  61. I will describe the conversion process in two major steps. We'll start by
  62. converting the image into its 2-bit form, and then rap things up by making a
  63. few necessary color adjustments. After we have finished this tutorial I'll
  64. discuss the reasons some images do not convert well and further possibilites
  65. for this new display mode. Let's go!
  66.  
  67.              
  68.                          STEP #1: BITPLANE BUSTING.
  69.  
  70.  
  71. Start Pixmate and then load the picture named froggie.dctv (found in the images
  72. drawer on DCTV disk #3). DCTV will not detect or display a composite image
  73. while the Pixmate menu bar is active. Disable the menu bar by selecting the
  74. "toggle title" item from the EDIT menu. The froggie.dctv image shouldnow appear
  75. in all of its composite glory. (figure 1.)
  76.  
  77. Choose the DISPLAY item from the "effects" menu to open the display control
  78. panel. Looking at the gadgets that represent image bitplanes you'll notice that
  79. number's 1 through 4 are highlighted (indicating that we're working with a 4
  80. bitplane image). When working with a 4 bitplane DCTV image you willalways want
  81. to discard plane numbers 1 and 2 (only plane number 1 for 3-bitplane images).
  82. We can't actually remove the planes at this time, so we will temporarily render
  83. them inactive. De-select the number 1 and 2 gadgets and then close the display
  84. window to exit back to the main screen. Our composie image should exhibit a
  85. noticeable loss of color and a small reduction in detail.
  86.  
  87. Next, go to the "color" menu and select the PACK COLORS item. Pixmate will then
  88. process the RGB image and re-map the palette. This process does not generate a
  89. viewable difference in the composite image, but it's a required step before
  90. performing any further actions. You can also use the LESS COLORS tem from the
  91. "color" menu to achieve the same results (by inputting a "4" for the number of
  92. colors to use) but the process is slower than simply selecting PACK COLORS.
  93.  
  94. Once again choose the DISPLAY item from the "effects" menu to open the display
  95. control panel. The bitplane gadgets will again indicate that we're working with
  96. a 4-bitplane image. This time de-select plane numbers 3 and 4 (you should not
  97. see a change in the image) and then select the REFORM gadget. Arequester will
  98. pop up informing you that "image bitmap change will permanently discard some
  99. bitplanes, reducing the number of colors." Since we have already processed and
  100. re-mapped the appropriate colors, we have nothing to lose by continuing. Select
  101. CHOP PLANES to remove the unwanted bitplanes and ransform our picture into a
  102. 2-bit image (figure 2).
  103.  
  104. Now that we have chopped the unwanted planes and reduced the number of colors,
  105. it's time to proceed to step #2 and do some tricky tweaking (say that 5 times,
  106. fast) of our images' palette.
  107.  
  108.  
  109.                             STEP #2: PALETTE MAGIC.
  110.  
  111.  
  112. Our newly converted 2-bit image has little or no color and an annoying flicker.
  113. Correcting the image is a fairly easy and straight forward process. Let's get
  114. to it.
  115.  
  116. There are two different methods we can use to achieve the results we desire.
  117. The first method offers fairly precise control over color correction, while the
  118. second method offers less control but is an easier and faster process to
  119. perform. Both are capable of excellent (and practically identical) reslts.
  120.  
  121. Method  #1:
  122.  
  123. Select the "palette" item from the COLOR menu. A small window will appear
  124. containing a somewhat standard Amiga palette adjuster. You'll see the familiar
  125. RGB sliders and color value information.
  126.  
  127. Before we begin adjusting color levels, it's important for you to remember that
  128. we're working with a DCTV image. The palette controls will effect our composite
  129. display in a vastly different way than an ordinary RGB display. Also, because
  130. of small differences between certain DCTV equipped Amiga systes the color
  131. values given below may be slightly different from those required on your
  132. system. If you experience problems, experiment to find the most effective
  133. values.
  134.  
  135. For this image (and the majority of images you will convert) only the
  136. blue-levels for each color need to be adjusted. We will start with the last
  137. color on the right (color 3) and work left to color 0. I have listed all 4
  138. setting adjustments below as steps A through D.
  139.  
  140. A. Select color 3 and use the blue-level adjuster to increase the color value
  141. to a setting of 87F (all the way to the right). Checking your composite display
  142. you should immediately notice a considerable improvement in image color.
  143.  
  144. B. Select color 2 and increase the blue-levels to a value of 87E. You should
  145. notice a massive improvement in the composite image.
  146.  
  147. C. Choose color 1 and increase the blue-levels to a value of 00F (again, all
  148. the way to the right). You may not see a dramatic change in the composite
  149. image, but there is an improvement. (Sliding the adjuster back and forth to
  150. different values will give you an idea of how this setting effects the diplay).
  151.  
  152. D. Some areas of the image will still contain small horizontal lines (most
  153. visible on the eye of froggie). Select color 0 and increase the blue-levels to
  154. a value of 00E. You should notice a subtle "color-smoothing" effect which
  155. reduces horizontal lines leaving our final image (figure 3) closely resebling
  156. its original 4-bit quality. Welcome to the wonderful world of million color
  157. 2-bit DCTV images!
  158.  
  159. Before we celebrate our successful conversion and rap up the tutorial, I'll
  160. quickly demonstrate the second method of correcting image color and detail. You
  161. may wish to save this image before we proceed in order to compare the separate
  162. results.
  163.  
  164. Method #2:
  165.  
  166. If you still have the palette window open, close it to return to the main
  167. screen. Select "undo changes" from the EDIT menu to return our image to its
  168. "pre-color-corrected" appearance.
  169.  
  170. Choose The "color bias" option from the COLOR menu. A window will appear
  171. offering a variety of image enhancement controls. Unlike the RGB sliders
  172. offered by the palette window, these controls effect the entire range of
  173. colors, not just one specific color at a time.
  174.